﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NotePad
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void btnParse_Click(object sender, EventArgs e)
        {
            IEnumerable<Engine.Class> classes = Engine.TextParser.FindClasses(txtCSharp.Lines);

            foreach (Engine.Class c in classes)
            {
                txtObjectiveC.Text += c.ToString();
            }
        }
    }
}
